// ActionScript file
import com.CI.ViewAllBook.Control.ViewBookPublishedEvents;
import com.CI.ViewAllBook.Control.ViewEbookEvents;
import com.CI.ViewAllBook.VO.BookPublished;
import com.CI.ViewAllBook.VO.Ebook;

public function viewAllEbook() : void
{
	var  ebook : Ebook = new Ebook();
	
	var event : ViewEbookEvents = new ViewEbookEvents(ebook);
	event.dispatch();
}

public function viewAllBookPublished : void
{
	var bookPublished : BookPublished = new BookPublished();
	
	var event : ViewBookPublishedEvents = new ViewBookPublishedEvents(bookPublished);
	event.dispatch();	
}